import { Module } from '@nestjs/common';
import { UserListController} from '../../controller/user/user.list.controller';
import { UserListService } from '../../service/user.list.service';
import { HttpModule } from '@nestjs/axios';
import { CommonRedisService } from '../../service/common.redis.service';
import { CommonRequestService } from '../../service/common.request.service';
import { TypeOrmModule } from '@nestjs/typeorm';
import { UserListEntity } from '../../entity/user.list.entity';

@Module({
  imports: [
    HttpModule,
    TypeOrmModule.forFeature([UserListEntity]),
  ],
  providers: [UserListService, CommonRedisService, CommonRequestService],
  controllers: [UserListController]
})
export class UserListModule {}
